import config from "@/config"
import http from "@/utils/request"

export default {
	SyncSmsSign: {
		url: `${config.API_URL}/SmsInfo/SyncSmsSign`,
		name: "同步短信签名",
		post: async function (data) {
		    return await http.post(this.url, data, {
		        headers: {
		            //'response-status': 401
		        }
		    });
		}
	},
	SyncSmsTemplate: {
		url: `${config.API_URL}/SmsInfo/SyncSmsTemplate`,
		name: "同步短信模板",
		post: async function (data) {
		    return await http.post(this.url, data, {
		        headers: {
		            //'response-status': 401
		        }
		    });
		}
	},
	SmsSendCode: {
		url: `${config.API_URL}/SmsInfo/SmsSendCode`,
		name: "短信验证码发送",
		post: async function (data) {
		    return await http.post(this.url, data, {
		        headers: {
		            //'response-status': 401
		        }
		    });
		}
	},
	GetSmsStatistc: {
		url: `${config.API_URL}/SmsInfo/GetSmsStatistc`,
		name: "短信使用明细",
		post: async function (data) {
		    return await http.post(this.url, data, {
		        headers: {
		            //'response-status': 401
		        }
		    });
		}
	},
	GetSmsRechargePlan: {
		url: `${config.API_URL}/SmsInfo/GetSmsRechargePlan`,
		name: "获取充值方案",
		post: async function (data) {
		    return await http.post(this.url, data, {
		        headers: {
		            //'response-status': 401
		        }
		    });
		}
	},
	SmsRecharge: {
		url: `${config.API_URL}/SmsInfo/SmsRecharge`,
		name: "短信充值",
		post: async function (data) {
		    return await http.post(this.url, data, {
		        headers: {
		            //'response-status': 401
		        }
		    });
		}
	},
	SmsRechargeResult:{
		url: `${config.API_URL}/SmsInfo/SmsRechargeResult`,
		name: "短信充值结果",
		post: async function (data) {
		    return await http.post(this.url, data, {
		        headers: {
		            //'response-status': 401
		        }
		    });
		}
	},
	GetSmsStatisticList:{
		url: `${config.API_URL}/SmsInfo/GetSmsStatisticList`,
		name: "获取短信统计列表",
		post: async function (data) {
		    return await http.post(this.url, data, {
		        headers: {
		            //'response-status': 401
		        }
		    });
		}
	},
}
